package com.rainng.coursesystem.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.rainng.coursesystem.model.entity.TeamEntity;
import com.rainng.coursesystem.model.vo.response.table.ActivityItemVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TeamMapper extends BaseMapper<TeamEntity> {
    Integer count(@Param("areaName") String areaName,@Param("activityName") String activityName, @Param("name")String name);

    IPage<ActivityItemVO> getPage(IPage<ActivityItemVO> page, @Param("areaName")String areaName, @Param("activityName") String activityName, @Param("name")String name);
}
